//
//  TBDataSource.h
//  TBTest
//
//  Created by KOSUN on 2017/11/2.
//  Copyright © 2017年 KOSUN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

// cell 赋值的 block
typedef void (^TBCellConfigBlock)(UITableViewCell *targetCell, id data, NSInteger row);

@interface TBDataSource : NSObject<UITableViewDataSource>

@property (nonatomic, strong) NSArray *listData;//数据源
@property (nonatomic, strong) NSString *tableCellIdentifier;// cell 复用标识
@property (nonatomic, copy) TBCellConfigBlock tableCellConfigBlock;


@end
